﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DTO;
using DAO;

namespace BUS
{
    public class DonHangSapGiaoBUS
    {
        public List<DonHangSapGiaoDTO> LayDS()
        {
            DonHangSapGiaoDAO dao = new DonHangSapGiaoDAO();
            return dao.LayDS();
        }

        public List<ChiTietDonHangSapGiaoDTO> LayChiTietDHTheoMaDH(int ma)
        {
            DonHangSapGiaoDAO dao = new DonHangSapGiaoDAO();
            return dao.LayChiTietDHTheoMaDH(ma);
        }
    }
}
